package com.ogawa.base.download;

/**
 * Created by fhb on 2016/4/8.
 * 下载apk
 */
public class DownloadInfoBean {



    private String savePath;//存储路径

    private long   currentPos;//现在下载到哪里
    private long   endPos; // 结束点

    //新增现在速度
    private long   speed;//下载速度byte

    //新增网络状态监听
    public int     netState;//记录开始下载时的网络状态 0为网络错误 1为Wifi  2为移动网络

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }

    public long getCurrentPos() {
        return currentPos;
    }

    public void setCurrentPos(long currentPos) {
        this.currentPos = currentPos;
    }

    public long getEndPos() {
        return endPos;
    }

    public void setEndPos(long endPos) {
        this.endPos = endPos;
    }



    public long getSpeed() {
        return speed;
    }

    public void setSpeed(long speed) {
        this.speed = speed;
    }

    public int getNetState() {
        return netState;
    }

    public void setNetState(int netState) {
        this.netState = netState;
    }
}
